using System;
using System.Collections.Generic;
using System.Text;

namespace CodePlex.OpenSearch
{

    /// <summary>
    /// Useful constants.
    /// </summary>
    public static class Constants
    {
        /// <summary>
        /// Common mime types.
        /// </summary>
        public static class MimeTypes
        {
            /// <summary>
            /// text/html
            /// </summary>
            public static readonly string TextHtml = "text/html";

            /// <summary>
            /// text/plain
            /// </summary>
            public static readonly string TextPlain = "text/plain";

            /// <summary>
            /// text/javascript
            /// </summary>
            public static readonly string TextJavascript = "text/javascript";

            /// <summary>
            /// text/xml
            /// </summary>
            public static readonly string TextXml = "text/xml";






            /// <summary>
            /// application/rss+xml
            /// </summary>
            public static readonly string ApplicationRssXml = "application/rss+xml";

            /// <summary>
            /// application/atom+xml
            /// </summary>
            public static readonly string ApplicationAtomXml = "application/atom+xml";

            /// <summary>
            /// application/xhtml+xml
            /// </summary>
            public static readonly string ApplicationXhtmlXml = "application/xhtml+xml";

            /// <summary>
            /// application/x-suggestions+json
            /// </summary>
            public static readonly string ApplicationXSuggestionsJson = "application/x-suggestions+json";

            /// <summary>
            /// application/opensearchdescription+xml
            /// </summary>
            public static readonly string ApplicationOpenSearchDescriptionXml = "application/opensearchdescription+xml";




            /// <summary>
            /// image/png
            /// </summary>
            public static readonly string ImagePng = "image/png";

            /// <summary>
            /// image/vnd.microsoft.icon
            /// </summary>
            public static readonly string ImageVndMicrosoftIcon = "image/vnd.microsoft.icon";
        }

        /// <summary>
        /// Common namespaces.
        /// </summary>
        public static class Namespaces 
        {

            /// <summary>
            /// http://a9.com/-/spec/opensearch/1.1/
            /// </summary>
            public static readonly string OpenSearch = "http://a9.com/-/spec/opensearch/1.1/";

            /// <summary>
            /// http://www.w3.org/2005/Atom
            /// </summary>
            public static readonly string Atom = "http://www.w3.org/2005/Atom";

            /// <summary>
            /// http://www.w3.org/1999/xhtml
            /// </summary>
            public static readonly string Xhtml = "http://www.w3.org/1999/xhtml";

            /// <summary>
            /// http://www.mozilla.org/2006/browser/search/
            /// </summary>
            public static readonly string MozillaBrowserSearch = "http://www.mozilla.org/2006/browser/search/";
        }

       
    }
}
